const numberOptions: string = '0123456789';

const charsOptions: string = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";

export function generateRandomNumberStr(length: number): string {
  let outString: string = '';
  for (let i = 0; i < length; i++) {
    outString += numberOptions.charAt(Math.floor(Math.random() * numberOptions.length));
  }
  return outString;
}

export function generateCharsStr(length: number): string {
  let outString: string = '';
  for (let i = 0; i < length; i++) {
    outString += charsOptions.charAt(Math.floor(Math.random() * charsOptions.length));
  }
  return outString;
}


